package com.smart.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.smart.common.domain.BaseEntity;

/**
 * 版权所有：xxxxxxx
 * @Description: 菜单
 * @Title: Menu.java 
 * @ClassName: Menu 
 * @author tangyan 
 * @date 2019年2月13日 上午9:55:17 
 * @version V1.0
 */
@Entity
@Table(name = "menu")
public class Menu  extends BaseEntity{

	/**
	 * 菜单标题
	 */
	@Column
    private String title;
	
	/**
	 * 菜单编号
	 */
	@Column
	private String menuCode;

    /**
     * 菜单地址
     */
	@Column
    private String url;

    /**
     * 上级菜单
     */
	@Column
    private String parentId;

    /**
     * 菜单等级
     */
	@Column
    private Integer level;
    
    /**
     * 菜单排序
     */
    @Column
    private Integer order;

    /**
     * 图标
     */
    @Column
    private String icon;

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public Integer getOrder() {
		return order;
	}

	public void setOrder(Integer order) {
		this.order = order;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getMenuCode() {
		return menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

    


}
